//
//  MoreViewController.m
//  项目1 CLCMovie
//
//  Created by huiwenjiaoyu on 15/7/17.
//  Copyright (c) 2015年 CLC. All rights reserved.
//

#import "MoreViewController.h"
#define kWidth  self.view.bounds.size.width
#define kHieght self.view.bounds.size.height


@interface MoreViewController ()

@end

@implementation MoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationItem setTitle:@"更多"];
//    [self _creatTableView];
    // Do any additional setup after loading the view.
}

- (void)_creatTableView
{
    UITableView* tab =[[UITableView alloc] initWithFrame:CGRectMake(0, 64, kWidth, kHieght - 108) style:UITableViewStylePlain];
    tab.delegate = self;
    tab.dataSource = self;
    [tab registerClass:[MoreCell class] forCellReuseIdentifier:@"MoreCell"];
    

    [self.view addSubview:tab];
}



- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    return 6;
}

- (UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    MoreCell* cell = [tableView dequeueReusableCellWithIdentifier:@"MoreCell" forIndexPath:indexPath];
    
//    cell.Modal = 
    return cell;
}





- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
